package com.zbkj.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.model.Warehouse;
import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.request.WarehouseSearchRequest;

import java.util.List;

/**
 * @author keNan
 * @description WarehouseService 接口
 * @date 2025-06-05
 */
public interface WarehouseService extends IService<Warehouse> {

    List<Warehouse> getList(WarehouseSearchRequest request, PageParamRequest pageParamRequest);

    /**
     * 新增仓库
     *
     * @param warehouse
     * @return
     */
    Boolean addWarehouse(Warehouse warehouse);
}